package ua.kharkov.knure.dereza.summarytask4.db.dto;

import java.io.Serializable;

/**
 * Data transfer object for clients that we receive from DB.
 * 
 * @author dereza
 *
 */
public class ClientDTO implements Serializable{

	private static final long serialVersionUID = 3552918732973639537L;

	private int id; 
	
	private String login;
	
	private String password;
	
	private String surName;
	
	private String name;
	
	private String mobileNumber;
	
	private int role;
	
	private int locale;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSurName() {
		return surName;
	}

	public void setSurName(String surName) {
		this.surName = surName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMobileNumber() {
		return mobileNumber;
	}

	public void setMobileNumber(String mobileNumber) {
		this.mobileNumber = mobileNumber;
	}

	public int getRole() {
		return role;
	}

	public void setRole(int role) {
		this.role = role;
	}

	public int getLocale() {
		return locale;
	}

	public void setLocale(int locale) {
		this.locale = locale;
	}

	@Override
	public String toString() {
		return "ClientDTO [id=" + id + ", login=" + login + ", password="
				+ password + ", surName=" + surName + ", name=" + name
				+ ", mobileNumber=" + mobileNumber + ", role=" + role
				+ ", locale=" + locale + "]";
	}	
}